package com.server;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * <p>
 * 启动器
 * </p>
 *
 * @author gdj
 * @since 2019-08-16
 */
@EnableAspectJAutoProxy
@MapperScan("com.server.mapper")
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class, MultipartAutoConfiguration.class})
public class ServerStartApplication  {

    public static void main(String[] args) {
        SpringApplication.run(ServerStartApplication.class, args);
    }

}
